3.603 \(\int \frac{(1+x) \left (1+2 x+x^2\right )^5}{x^4} \, dx\)

Optimal. Leaf size=70 \[ \frac{x^8}{8}+\frac{11 x^7}{7}+\frac{55 x^6}{6}+33 x^5+\frac{165 x^4}{2}+154 x^3-\frac{1}{3 x^3}+231 x^2-\frac{11}{2 x^2}+330 x-\frac{55}{x}+165 \log (x) \]

[Out]

-1/(3*x^3) - 11/(2*x^2) - 55/x + 330*x + 231*x^2 + 154*x^3 + (165*x^4)/2 + 33*x^
5 + (55*x^6)/6 + (11*x^7)/7 + x^8/8 + 165*Log[x]

_______________________________________________________________________________________

Rubi [A]  time = 0.0491913, antiderivative size = 70, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118 \[ \frac{x^8}{8}+\frac{11 x^7}{7}+\frac{55 x^6}{6}+33 x^5+\frac{165 x^4}{2}+154 x^3-\frac{1}{3 x^3}+231 x^2-\frac{11}{2 x^2}+330 x-\frac{55}{x}+165 \log (x) \]

Antiderivative was successfully verified.

[In]  Int[((1 + x)*(1 + 2*x + x^2)^5)/x^4,x]

[Out]

-1/(3*x^3) - 11/(2*x^2) - 55/x + 330*x + 231*x^2 + 154*x^3 + (165*x^4)/2 + 33*x^
5 + (55*x^6)/6 + (11*x^7)/7 + x^8/8 + 165*Log[x]

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \frac{x^{8}}{8} + \frac{11 x^{7}}{7} + \frac{55 x^{6}}{6} + 33 x^{5} + \frac{165 x^{4}}{2} + 154 x^{3} + 330 x + 165 \log{\left (x \right )} + 462 \int x\, dx - \frac{55}{x} - \frac{11}{2 x^{2}} - \frac{1}{3 x^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((1+x)*(x**2+2*x+1)**5/x**4,x)

[Out]

x**8/8 + 11*x**7/7 + 55*x**6/6 + 33*x**5 + 165*x**4/2 + 154*x**3 + 330*x + 165*l
og(x) + 462*Integral(x, x) - 55/x - 11/(2*x**2) - 1/(3*x**3)

_______________________________________________________________________________________

Mathematica [A]  time = 0.00477863, size = 70, normalized size = 1. \[ \frac{x^8}{8}+\frac{11 x^7}{7}+\frac{55 x^6}{6}+33 x^5+\frac{165 x^4}{2}+154 x^3-\frac{1}{3 x^3}+231 x^2-\frac{11}{2 x^2}+330 x-\frac{55}{x}+165 \log (x) \]

Antiderivative was successfully verified.

[In]  Integrate[((1 + x)*(1 + 2*x + x^2)^5)/x^4,x]

[Out]

-1/(3*x^3) - 11/(2*x^2) - 55/x + 330*x + 231*x^2 + 154*x^3 + (165*x^4)/2 + 33*x^
5 + (55*x^6)/6 + (11*x^7)/7 + x^8/8 + 165*Log[x]

_______________________________________________________________________________________

Maple [A]  time = 0.009, size = 59, normalized size = 0.8 \[ -{\frac{1}{3\,{x}^{3}}}-{\frac{11}{2\,{x}^{2}}}-55\,{x}^{-1}+330\,x+231\,{x}^{2}+154\,{x}^{3}+{\frac{165\,{x}^{4}}{2}}+33\,{x}^{5}+{\frac{55\,{x}^{6}}{6}}+{\frac{11\,{x}^{7}}{7}}+{\frac{{x}^{8}}{8}}+165\,\ln \left ( x \right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((1+x)*(x^2+2*x+1)^5/x^4,x)

[Out]

-1/3/x^3-11/2/x^2-55/x+330*x+231*x^2+154*x^3+165/2*x^4+33*x^5+55/6*x^6+11/7*x^7+
1/8*x^8+165*ln(x)

_______________________________________________________________________________________

Maxima [A]  time = 0.685922, size = 78, normalized size = 1.11 \[ \frac{1}{8} \, x^{8} + \frac{11}{7} \, x^{7} + \frac{55}{6} \, x^{6} + 33 \, x^{5} + \frac{165}{2} \, x^{4} + 154 \, x^{3} + 231 \, x^{2} + 330 \, x - \frac{330 \, x^{2} + 33 \, x + 2}{6 \, x^{3}} + 165 \, \log \left (x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((x^2 + 2*x + 1)^5*(x + 1)/x^4,x, algorithm="maxima")

[Out]

1/8*x^8 + 11/7*x^7 + 55/6*x^6 + 33*x^5 + 165/2*x^4 + 154*x^3 + 231*x^2 + 330*x -
 1/6*(330*x^2 + 33*x + 2)/x^3 + 165*log(x)

_______________________________________________________________________________________

Fricas [A]  time = 0.303114, size = 84, normalized size = 1.2 \[ \frac{21 \, x^{11} + 264 \, x^{10} + 1540 \, x^{9} + 5544 \, x^{8} + 13860 \, x^{7} + 25872 \, x^{6} + 38808 \, x^{5} + 55440 \, x^{4} + 27720 \, x^{3} \log \left (x\right ) - 9240 \, x^{2} - 924 \, x - 56}{168 \, x^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((x^2 + 2*x + 1)^5*(x + 1)/x^4,x, algorithm="fricas")

[Out]

1/168*(21*x^11 + 264*x^10 + 1540*x^9 + 5544*x^8 + 13860*x^7 + 25872*x^6 + 38808*
x^5 + 55440*x^4 + 27720*x^3*log(x) - 9240*x^2 - 924*x - 56)/x^3

_______________________________________________________________________________________

Sympy [A]  time = 0.269627, size = 63, normalized size = 0.9 \[ \frac{x^{8}}{8} + \frac{11 x^{7}}{7} + \frac{55 x^{6}}{6} + 33 x^{5} + \frac{165 x^{4}}{2} + 154 x^{3} + 231 x^{2} + 330 x + 165 \log{\left (x \right )} - \frac{330 x^{2} + 33 x + 2}{6 x^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((1+x)*(x**2+2*x+1)**5/x**4,x)

[Out]

x**8/8 + 11*x**7/7 + 55*x**6/6 + 33*x**5 + 165*x**4/2 + 154*x**3 + 231*x**2 + 33
0*x + 165*log(x) - (330*x**2 + 33*x + 2)/(6*x**3)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.271863, size = 80, normalized size = 1.14 \[ \frac{1}{8} \, x^{8} + \frac{11}{7} \, x^{7} + \frac{55}{6} \, x^{6} + 33 \, x^{5} + \frac{165}{2} \, x^{4} + 154 \, x^{3} + 231 \, x^{2} + 330 \, x - \frac{330 \, x^{2} + 33 \, x + 2}{6 \, x^{3}} + 165 \,{\rm ln}\left ({\left | x \right |}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((x^2 + 2*x + 1)^5*(x + 1)/x^4,x, algorithm="giac")

[Out]

1/8*x^8 + 11/7*x^7 + 55/6*x^6 + 33*x^5 + 165/2*x^4 + 154*x^3 + 231*x^2 + 330*x -
 1/6*(330*x^2 + 33*x + 2)/x^3 + 165*ln(abs(x))